﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Composite.Regions;
using UIComposition.Infrastructure;
using Microsoft.Practices.Composite.Modularity;

namespace FXSStation.Modules.SettingsModule
{
    public class SettingsModule: IModule
    {
        public readonly IRegionViewRegistry regionViewRegistry;
        public SettingsModule(IRegionViewRegistry registry)
        {
            this.regionViewRegistry = registry;
        }
        public void Initialize()
        {
            regionViewRegistry.RegisterViewWithRegion(RegionNames.SettingsRegion, typeof(AccountSettingsView));
        }
    }
}
